package com.pignest.hotel.definition;

@Deprecated
public enum InComeItemStatus {
	
	YJ("押金", "YJ"),
	XSP("小商品", "XSP"),
	RMBXJ("人民币现金", "RMBXJ"), 
	YHK("银行卡", "YHK"),
	TZFF("调整房费","TZFF"),
	BTFF("半天房费","BTFF"),
	QTFF("全天房费","QTFF"),
	CZ("冲帐","CZ"),
	FF("房费", "FF");
	
	private String name;
	private String value;

	InComeItemStatus(String name, String value) {
		this.name = name;
		this.value = value;
	}
	
	public static void main(String[] args) {
		  // InComeItemStatus[] xx = InComeItemStatus.values(); 
		   InComeItemStatus  xx = InComeItemStatus.CZ;
		   xx.getValue();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	public static InComeItemStatus valueof(String name) {
		try {
			return valueOf(name);
		} catch (Exception e) {
		}
		return null;
	}
}
